package org.jeecg.modules.oms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 长风型材加工信息
 */
@Data
@TableName("oms_cf_profile_work_detail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "oms_cf_profile_work_detail对象", description = "长风型材加工信息")
public class CfProfileWorkDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private String id;

    /**
     * 型材ID
     */
    @Excel(name = "型材ID", width = 15)
    @ApiModelProperty(value = "型材ID")
    private String profileId;

    /**
     * 切割ID
     */
    @Excel(name = "切割ID", width = 15)
    @ApiModelProperty(value = "切割ID")
    private String cutId;

    /**
     * 订单ID
     */
    @Excel(name = "订单ID", width = 15)
    @ApiModelProperty(value = "订单ID")
    private String orderId;

    /**
     * 加工名称
     */
    @Excel(name = "加工名称", width = 15)
    @ApiModelProperty(value = "加工名称")
    private String workName;

    /**
     * 加工类型
     */
    @Excel(name = "加工类型", width = 15)
    @ApiModelProperty(value = "加工类型")
    private String workType;

    /**
     * X坐标
     */
    @Excel(name = "X坐标", width = 15)
    @ApiModelProperty(value = "X坐标")
    private Double positionX;

    /**
     * Y坐标
     */
    @Excel(name = "Y坐标", width = 15)
    @ApiModelProperty(value = "Y坐标")
    private Double positionY;

    /**
     * Z坐标
     */
    @Excel(name = "Z坐标", width = 15)
    @ApiModelProperty(value = "Z坐标")
    private Double positionZ;

    /**
     * 加工层
     */
    @Excel(name = "加工层", width = 15)
    @ApiModelProperty(value = "加工层")
    private String profiLav;

    /**
     * 条码
     */
    @Excel(name = "条码", width = 15)
    @ApiModelProperty(value = "条码")
    private String barCode;

    /**
     * 窗号
     */
    @Excel(name = "窗号", width = 15)
    @ApiModelProperty(value = "窗号")
    private String windowNo;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
} 